﻿@using FormBuilder.Components.Drag
@using FormBuilder.Helpers
@inject ITranslationHelper translationHelper

<DraggableFormElement IsEditModeEnabled=@IsEditModeEnabled ParentContext="@ParentContext" Context="@Context" TDialog="ImageDialog" TRecord="ImageRecord" Record="@Value">
    <Children>
        <div class=@ContainerClass>
            <RadzenImage class="@ImageClass" Path="@Value.Url" />
        </div>
    </Children>
</DraggableFormElement>